import request from "@/utils/request";

export function getIconList(){
    return request<ResponseGlobal>('get','/robot/icon/list',);
}

export function addIcon(data){
    return request<ResponseGlobal>('post','/robot/icon/save',data);
}

export function deleteIcon(id){
    return request<ResponseGlobal>('delete',`/robot/icon/delete/${id}`);
}

export function updateIcon(id,data){
    return request<ResponseGlobal>('post',`/robot/icon/update/${id}`,data);
}
